package com.totoro.dubbo.properties;

import com.sun.istack.internal.NotNull;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Dubbo应用信息配置
 * Created by Niki on 2018/7/3 8:56
 * @see http://dubbo.apache.org/books/dubbo-user-book/references/xml/dubbo-application.html
 */
@Configuration
@ConfigurationProperties(prefix = "dubbo.application")
@Getter
@Setter
public class ApplicationConfigProperties {
    /** 应用名称 */
    @NotNull
    private String name;
    /** 应用版本 */
    private String version;
    /** 应用负责人 */
    private String owner;
    /** 应用所属组织 */
    private String organization;
    /** 应用分厂对应架构*/
    private String architeture;
    /** 应用环境*/
    private String environment;
    /** 应用java字节码编译器，用于动态类的生成*/
    private String compiler;
    /** 日志输出方式*/
    private String logger;
}
